Markus Berthold
Hi Tom,
I am on a business trip this week abd very limited in time. I am interested to do further testing with object lock when it's available. How are your plans regarding the object lock retention configuration settings?
We were mostly focused on technical solution in order to make Object Lock possible at all with E2E encryption given the requirements of MD5 hash generation. As such our testing environment had default retention configuration applied to bucket globally.
We haven't really thought how to configure object lock mode from within the S3Drive, but since S3 provides these headers:
x-amz-object-lock-mode: ObjectLockMode
The Object Lock mode that you want to apply to this object.
Valid Values: GOVERNANCE | COMPLIANCE
x-amz-object-lock-retain-until-date: ObjectLockRetainUntilDate
The date and time when you want this object's Object Lock to expire. Must be formatted as a timestamp parameter.
x-amz-object-lock-legal-hold: ObjectLockLegalHoldStatus
Specifies whether a legal hold will be applied to this object. For more information about S3 Object Lock, see Object Lock.
Valid Values: ON | OFF
It's a matter of providing sane settings UI where these settings can be applied.
Depending on the requirements there could be multiple layers with override rules. For instance user could specify settings on the bucket level which would then be overridden by the settings on the folder level, then on the sub-folder level (and so on) down until the file level.
We're open for suggestions how this should/could work.